package day05;

public class ArrayDemo3 {
	public static void main(String[] args) {
		int[] arr = new int[3];
		System.out.println("数组的长度："+arr.length);
		System.out.println("数组第一个元素的值："+arr[0]);
		arr[0] = 100;
		arr[1] = 200;
		arr[2] = 300;
		System.out.println(arr[2]);
		System.out.println(arr[arr.length-1]);
	}
}
